package com.share.shareplatform.sharegoods.dao;


import com.share.shareplatform.pojo.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BrandDao {
    Long addOne(Brand brand);
    Integer updateOne(Brand brand);
    Integer deleteOneById(Long id);
    Integer deleteAllByIds(Long[] ids);
    Brand findOneByName(String name);
    Brand findOneById(Long id);
    List<Brand> findAll();
}
